package com.aisino.mplearning.service.impl;

import com.aisino.mplearning.service.WebsitesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


import com.aisino.mplearning.mapper.WebsitesMapper;
import com.aisino.mplearning.entity.Websites;

import javax.annotation.Resource;

/**
 * @author guochuantao
 * @since 2024/8/27 下午4:09
 * @version 1.0
 * @description  
*/

@Service
public class WebsitesServiceImpl extends ServiceImpl<WebsitesMapper, Websites> implements WebsitesService {

    @Resource
    private WebsitesMapper websitesMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return websitesMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(Websites record) {
        return websitesMapper.insert(record);
    }

    
    public int insertSelective(Websites record) {
        return websitesMapper.insertSelective(record);
    }

    
    public Websites selectByPrimaryKey(Integer id) {
        return websitesMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(Websites record) {
        return websitesMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(Websites record) {
        return websitesMapper.updateByPrimaryKey(record);
    }

}
